
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link rel="stylesheet" type="text/css" href="css/general.css" />
</head>

<body>
<div class="top">商品列表</div>
<div class="main">
<table width="700px" height="400px" cellspacing="0" cellpadding="0" border="1">
	<tr>
		<th>id</th>
		<th>商品名称</th>
		<th>商品分类</th>
		<th>数量</th>
		<th>单价</th>
		
		
	</tr>
	<s:iterator value="list">
		<tr class="trtd">
			<td><s:property value="id"/></td>
			<td><s:property value="goodsname"/></td>
			<td><s:property value="goodstype.typename"/></td>
			<td><s:property value="count"/></td>
			<td><s:property value="price"/></td>
		
			
			
		</tr>
	</s:iterator>


</table>
</div>
<jsp:include page="../foot.jsp"/>
</body>
</html>
